package org.jeecg.modules.front.pay;


import com.alibaba.fastjson.JSONObject;
import com.alipay.api.AlipayApiException;
import org.jeecg.common.api.vo.Result;

import java.util.Map;

public abstract class Payment {
    protected String channel;

    protected Object config;

    public abstract Result<JSONObject> pay(String requestNo, Double amount, Map<String, String> extendParams) throws AlipayApiException;


    // 支付方式:  1微信 2支付宝 3银行卡 4盈盛微信 5盈盛支付宝 6盈盛网银
    public abstract Integer payType();




}
